package com.hzhr.iot.user.dao.mapper.custom;

import com.hzhr.iot.user.entity.UserInRoleEntity;
import com.hzhr.iot.user.entity.ext.UserInRoleEntityExt;
import com.hzhr.iot.user.queryModel.custom.UserInRoleCustomQueryModel;

import java.util.List;

public interface UserInRoleEntityCustomMapper {
    //批量新增
    int insertBatch(List<UserInRoleEntity> recordList);
    //批量更新
    int updateBatch(List<UserInRoleEntity> recordList);
    //批量更新
    int updateBatchSelective(List<UserInRoleEntity> recordList);
    //通用查询
    List<UserInRoleEntityExt> selectExt(UserInRoleCustomQueryModel queryModel);
    //通用查询数量
    int selectCount(UserInRoleCustomQueryModel queryModel);
    //通用修改属性
    int updateProps(UserInRoleCustomQueryModel queryModel);
    //通用删除
    int delete(UserInRoleCustomQueryModel queryModel);
}
